package com.cloud.bssp.chinesenewyear.grabredenvelope.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description： 抢红包记录
 * @author：weirx
 * @date：2022/1/6 9:45
 * @version：3.0
 */
@Data
public class GrabEnvelopeLogDO {

    /**
     * 用户id
     */
    private Integer peopleId;

    /**
     * 红包id
     */
    private Integer redEnvelopeId;

    /**
     * 抢到的金额
     */
    private BigDecimal amount;

    /**
     * 发送时间
     */
    private Date createTime;

    public GrabEnvelopeLogDO(Integer peopleId, Integer redEnvelopeId, BigDecimal amount, Date createTime) {
        this.peopleId = peopleId;
        this.redEnvelopeId = redEnvelopeId;
        this.amount = amount;
        this.createTime = createTime;
    }
}
